package com.woniu.scss.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * packageName com.woniu.scss.dto
 *
 * @author zxyang3636
 * @version JDK 8
 * @className ProductDTO
 * @date 2024/8/6
 * @description TODO
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ProductDTO {
    private String productId;
    private String productTypeId;
    private String productTypeParentId;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private String createTimeStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private String createTimeEnd;
    private Integer cumulativeSalesG;
    private Integer cumulativeSalesL;
    private BigDecimal priceG;
    private BigDecimal priceL;
    private String productName;
    private Integer stockG;
    private Integer stockL;
    private Integer productStatus;
}
